package com.rc.evcharger.redis;


import com.rc.evcharger.common.annotation.Redis;
import com.rc.evcharger.common.annotation.RedisType;
import com.rc.evcharger.common.base.BaseRedis;

@Redis(table = "member")
public class RedMember extends BaseRedis {
    @Redis(type = RedisType.KEY)
    public String rtua;
    @Redis(type = RedisType.KEY)
    public String gunNum;
    @Redis(type = RedisType.VALUE)
    public Long memberId;

    public RedMember() {
        super();
    }

    public RedMember(String key, Long memberId) {
        super(key, memberId);
    }

    public RedMember(String rtua) {
        super();
        this.rtua = rtua;
    }

    public RedMember(String rtua, String gunNum) {
        super();
        this.rtua = rtua;
        this.gunNum = gunNum;
    }

    public RedMember(String rtua, String gunNum, Long memberId) {
        super();
        this.rtua = rtua;
        this.gunNum = gunNum;
        this.memberId = memberId;
    }

    public String getRtua() {
        return rtua;
    }

    public void setRtua(String rtua) {
        this.rtua = rtua;
    }

    public String getGunNum() {
        return gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }


}
